package com.neusoft.neuiotms.dcom.repository.hn;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.hn.HnInspectionPlan;

public interface HnInspectionPlanRepository
        extends JpaRepository<HnInspectionPlan, Long>, CustomizedHnInspectionPlanRepository {

    List<HnInspectionPlan> findByInstitutionCodeAndDelFlag(String unitCode, boolean delFlag);

    List<HnInspectionPlan> findByInstitutionCodeAndDelFlagAndDisabled(String unitCode, boolean delFlag,
            boolean disabled);

    List<HnInspectionPlan> findByCode(String code);

}
